package com.internetCafes.spms.web.customer.mapper.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.internetCafes.spms.web.customer.entity.customer.CustomerFollow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 客户更进日志表 Mapper 接口
 * </p>
 *
 * @author Zj
 * @since 2021-10-20
 */
@Mapper
public interface CustomerFollowMapper extends BaseMapper<CustomerFollow> {

    /**
     * 获取最新跟进记录
     *
     * @param customerIdList 客户id列表
     * @return 跟进记录列表
     */
    List<CustomerFollow> selectLastFollowList(@Param("customerIdList") List<Long> customerIdList);
}
